
package com.wwy.monitor.model.tddl.dto;

import com.wwy.monitor.model.enumeration.AlertTypeEnum;
import com.wwy.monitor.model.enumeration.ReceiverTypeEnum;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author tianquan.ld
 * @version V1.0
 * <p>Description: 报警接收者DTO</p>
 * @date 2019-10-30 15:23
 */
@Getter
@Setter
public class MonitorReceiverDTO {

    private Long id;
    /**
     * 员工id
     */
    private String empId;
    /**
     * 监控配置详情id
     */
    private Long detailId;
    /**
     * 主体类型，个人或者群组，{@link ReceiverTypeEnum}
     */
    private Integer type;
    /**
     * 报警类型，邮件或者钉群，{@link AlertTypeEnum}
     */
    private Integer alertType;
    /**
     * 接收地址
     */
    private String address;
    /**
     * 接受者name
     */
    private String name;
    private Integer isDelete;
    private Date createTime;
    private Date updateTime;
    private String createUser;
    private String updateUser;

}